Search results
131 packages found
Finds the closest color name to a given hex, rgb and hsl color (with and without alpha). It uses the Euclidean distance formula to calculate the distance between colors in the RGB color space
Map color names to HEX color values.
A simple, easy to use vanilla JS color picker with alpha selection.
[![npm version](https://img.shields.io/npm/v/repo-color-utility-package.svg)](https://www.npmjs.com/package/repo-color-utility-package)
- hex
- rgb
- color
- utility
- javascript
- web
- web-design
- design
- frontend
- development
- graphics
- manipulation
- conversion
- library
- View more
Converts hex colors to rgb
A utility to generate color palettes with multiple formats and modes.
Convert RGB(A) color to HEX
Converts hex color to rgb and calculates appropriate corresponding foreground.
lightweight rgb/rgba to hex parser
Convert hexadecimal, RGB, HSL, LCH or CMYK color to a name and a shade with i18n support.
Convert 6 digits and 3 digits hex color codes to RGB values. Returns object and arrays.
- rgb
- rgba
- hextorgb
- hex-rgb-conv
- hex
- short
- shorthand
- 3digits
- shortcut
- convert
- conversion
- converter
- color
- html
- View more
A JavaScript library, written in TypeScript, to convert among different color models
- color
- color-converter
- color-translator
- color-manipulation
- css-color
- css-color-convert
- rgb
- rgba
- hex
- hexadecimal
- hsl
- hsla
- cmyk
- typescript
Convert HEX/HEXa/aHEX with alpha to RGBa and back
Converts rgb colors to hex
A really simple package that enables you to specify an opacity for your HEX colours.
Map color names to HEX color values with es-module and typescript
Determines the best contrast color to use. Give it a background color and it returns a foreground color (black or white by default but customizable).
- accessibility
- background
- black
- bright
- brighten
- brightness
- chroma
- color
- colors
- contrast
- convert
- css
- dark
- darken
- View more
Small library for converting colors to hsl(a)
ColorInterpreter is a module able to convert any acceptable browser color-scheme to any other acceptable browser color-scheme.